package joapp

import (
	"time"
)

func AddTask() {
	globalWaiterInstance.Add(1)
}

func TaskDone() {
	globalWaiterInstance.Done()
}

func WaitForAllTasksDone() {
	time.Sleep(time.Second)
	globalWaiterInstance.Wait()
}
